import 'package:freezed_annotation/freezed_annotation.dart';

part 'store_index_req.freezed.dart';

part 'store_index_req.g.dart';

@freezed
abstract class StoreIndexReq with _$StoreIndexReq {
  factory StoreIndexReq({
    @required String clientId,
    @required List<String> dataTypes,
    @required int storeId,
  }) = _StoreIndexReq;

  factory StoreIndexReq.fromJson(Map<String, dynamic> json) => _$StoreIndexReqFromJson(json);
}
